<?php

use yii\helpers\Html;
use yii\widgets\ActiveForm;

/* @var $this yii\web\View */
/* @var $model common\models\CompanySearch */
/* @var $form yii\widgets\ActiveForm */
?>

<div class="content-search">

    <?php $form = ActiveForm::begin([
        'options'=>['class' => 'layui-form layui-form-pane'],
        'action' => ['index'],
        'method' => 'get',
        'enableClientValidation'=>false,
        'fieldConfig' => [
            'labelOptions' => ['class' => 'layui-form-label',],
            'inputOptions' => ['class' => 'layui-input','style'=>'width:100px'],
        ],
    ]); ?>
    <div class="layui-inline">
    	<label class="layui-form-label">关键字搜索</label>
        <div class="layui-input-inline">
        <?= $form->field($model, 'company_name')->label(false); ?>
        </div>
    </div>


   <div class="layui-inline">
    	<div class="form-group field-companysearch-company_name">
        <?= Html::submitButton('搜索', ['class' => 'layui-btn']) ?>
        <?= Html::a('新增',['create'], ['class' => 'layui-btn']) ?>
        </div>
 </div>
    

    <?php ActiveForm::end(); ?>

</div>
